home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / appkit / SliderCell.h < prev    next >
Text File  |  1992-03-20  |  2KB  |  82 lines

  1. /*
  2.     SliderCell.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "ActionCell.h"
  8.  
  9. @interface SliderCell : ActionCell
  10. {
  11.     void *              _scPrivate;
  12.     int                 _scPrivate1;
  13.     int                 _scPrivate2;
  14.     double              value;
  15.     double              maxValue;
  16.     double              minValue;
  17.     NXRect              trackRect;
  18. }
  19.  
  20.  
  21. + (BOOL)prefersTrackingUntilMouseUp;
  22.  
  23. - init;
  24. - awake;
  25.  
  26. - (double)minValue;
  27. - setMinValue:(double)aDouble;
  28. - (double)maxValue;
  29. - setMaxValue:(double)aDouble;
  30. - setAltIncrementValue:(double)incValue;
  31. - (double)altIncrementValue;
  32. - (int)isVertical;
  33. - (const char *)stringValue;
  34. - setStringValue:(const char *)aString;
  35. - (int)intValue;
  36. - setIntValue:(int)anInt;
  37. - (float)floatValue;
  38. - setFloatValue:(float)aFloat;
  39. - (double)doubleValue;
  40. - setDoubleValue:(double)aDouble;
  41. - setContinuous:(BOOL)flag;
  42. - (BOOL)isContinuous;
  43. - (BOOL)isOpaque;
  44. - calcCellSize:(NXSize *)theSize inRect:(const NXRect *)aRect;
  45. - setTitleGray:(float)grayVal;
  46. - (float)titleGray;
  47. - setTitleColor:(NXColor)newColor;
  48. - (NXColor)titleColor;
  49. - setTitleFont:fontObj;
  50. - titleFont;
  51. - (const char *)title;
  52. - setTitle:(const char *)aString;
  53. - setTitleNoCopy:(const char *)aString;
  54. - setTitleCell:aCell;
  55. - titleCell;
  56. - setEnabled:(BOOL)flag;
  57. - setKnobThickness:(NXCoord)aFloat;
  58. - (NXCoord)knobThickness;
  59. - setImage:backgroundImage;
  60. - image;
  61. - getKnobRect:(NXRect*)knobRect flipped:(BOOL)flipped;
  62. - drawKnob:(const NXRect*)knobRect;
  63. - drawKnob;
  64. - drawBarInside:(const NXRect *)aRect flipped:(BOOL)flipped;
  65. - drawSelf:(const NXRect *)cellFrame inView:controlView;
  66. - drawInside:(const NXRect *)cellFrame inView:controlView;
  67. - (BOOL)startTrackingAt:(const NXPoint *)startPoint inView:controlView;
  68. - (BOOL)continueTracking:(const NXPoint *)lastPoint at:(const NXPoint *)currentPoint inView:controlView;
  69. - stopTracking:(const NXPoint *)lastPoint at:(const NXPoint *)stopPoint inView:controlView mouseIsUp:(BOOL)flag;
  70. - (BOOL)trackMouse:(NXEvent *)theEvent inRect:(const NXRect *)cellFrame ofView:controlView;
  71. - write:(NXTypedStream *)stream;
  72. - read:(NXTypedStream *)stream;
  73.  
  74. /* 
  75.  * The following new... methods are now obsolete.  They remain in this  
  76.  * interface file for backward compatibility only.  Use Object's alloc method  
  77.  * and the init... methods defined in this class instead.
  78.  */
  79. + new;
  80.  
  81. @end
  82.